package com.gxa.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Objects;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultInfoPage {

    @Excel(name = "漏洞姓名", height = 20, width = 30) //poi
    private String cveName;  //漏洞姓名 gas/report - cve_name
    @Excel(name = "漏洞编号", height = 20, width = 30) //poi
    private String cveNumber; //漏洞编号  gas/report - cve
    @Excel(name = "端口", height = 20, width = 30) //poi
    private String port; //端口 gas/report -port
    @Excel(name = "漏洞类型", height = 20, width = 30) //poi
    private String cveType; //漏洞类型   gas/ips_rule - type
    @Excel(name = "资产名称", height = 20, width = 30) //poi
    private String assetsname; //资产名称  if/assets  assetsName
    @Excel(name = "资产ip", height = 20, width = 30) //poi
    private String assetsip; //资产ip 需要截取
    @Excel(name = "资产类型", height = 20, width = 30) //poi
    private String assetsType; //资产类型 if/assets assetsType
    @Excel(name = "扫描时间", height = 20, width = 30) //poi
    private String scanningTime; //扫描时间 openvasTool.getTasksList();
    @Excel(name = "漏洞等级", height = 20, width = 30) //poi
    private String cveLv; // 漏洞等级 /gas/report threat

    @Excel(name = "影响范围", height = 20, width = 30) //poi
    private String influence;//虚拟字段 影响范围
    @Excel(name = "验证信息", height = 20, width = 30) //poi
    private String authenticationinfo;//虚拟字段  验证信息
    @Excel(name = "是否存在EXP", height = 20, width = 30) //poi
    private String existExp;//虚拟字段 是否存在EXP


}
